const path = require('path')
const { compileEjs } = require('./common')
const { SupportedLanguage, SupportedStyleSheets, SupportedFramework } = require('../src/consts')

const esLintPath = path.resolve(__dirname, '../template/eslint.config.js')

compileEjs(esLintPath, {
	html: true,
	supportedStyleSheets: SupportedStyleSheets,
	styleSheets: SupportedStyleSheets.css,
	language: SupportedLanguage.typescript,
	supportedLanguage: SupportedLanguage,
	framework: SupportedFramework.react,
	supportedFramework: SupportedFramework,
	vue: false
})
